package com.ddpyjqtd.fatory.abstractfactory;

public class AbstractFactoryTest {

	
	public static void main(String[] args) {
		AbstractFactory factory = new XiaomiAbstractFactoryImpl();
		factory = new HuaweiAbstractFactoryImpl();
		System.out.println(factory.getPad());
		System.out.println(factory.getPhone());
	}
}
